<script type="text/javascript">
/// event click on a link
$('.sinhvien').live('click', function() {
$('#sinhvien').load(
   $(this).attr('href')
, function () {
   $(this).fadeIn(300);
});
return false;
});
</script>
<?php
    echo '<table>';
    foreach($chidoan as $cd):
        echo '<tr>';
        echo '<td>';
        echo $html->link($cd['Chidoansv']['tenchidoan'], array('controller'=>'z1sinhviens','action'=>'index',$cd['Chidoansv']['id']),array('class'=>'sinhvien'));
        echo '</td>';
        echo '</tr>';
    endforeach;
    echo '</table>';
?>